<form method="post" action="/GuessNum/results/">
{% csrf_token %}
<table>
{% if GuessNum_digNum == 0 %}
	<tr>
		<td>Please select how many numbers you want to guess:</td>
		<td>
			<select name="digNum">
				<option>3</option>
				<option>4</option>
				<option>5</option>
				<option>6</option>				
			</select>
		</td>
	</tr>
{% endif%}
	<tr>
		<td>Please fill in your number{%if GuessNum_digNum > 0%} ({{GuessNum_digNum}} digits) {%endif%}:</td>
		<td><input type="text" name="uGuess" value="" /></td>
	</tr>

	<tr>
		<td><input type="submit" value="Submit" /></td>
	</tr>
</table>
</form>